package com.lxmes.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 质量证书管理对象 nc_quality_certificate_management
 * 
 * @author lx
 * @date 2023-06-01
 */
@ApiModel(value = "NcQualityCertificateManagement", description = "质量证书管理对象")    
public class NcQualityCertificateManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("${column.columnComment}")
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty("公司名称")
    private String factoryName;

    /** 公司代码 */
    @Excel(name = "公司代码")
    @ApiModelProperty("公司代码")
    private String factoryCode;

    /** 证书名称 */
    @Excel(name = "证书名称")
    @ApiModelProperty("证书名称")
    private String certificateName;

    /** 证书编号 */
    @Excel(name = "证书编号")
    @ApiModelProperty("证书编号")
    private String certificateNumber;

    /** 发证机构 */
    @Excel(name = "发证机构")
    @ApiModelProperty("发证机构")
    private String issuingAuthority;

    /** 证书范围 */
    @Excel(name = "证书范围")
    @ApiModelProperty("证书范围")
    private String certificateScope;

    /** 有效期限 */
    @Excel(name = "有效期限")
    @ApiModelProperty("有效期限")
    private String validityPeriod;

    /** 证书审核 */
    @Excel(name = "证书审核")
    @ApiModelProperty("证书审核")
    private String certificateAudit;

    /** 证书更新 */
    @Excel(name = "证书更新")
    @ApiModelProperty("证书更新")
    private String certificateUpdate;

    /** 证书变更 */
    @Excel(name = "证书变更")
    @ApiModelProperty("证书变更")
    private String certificateChange;

    /** 录入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("录入时间")
    private Date entryTime;

    /** 管理责任人 */
    @Excel(name = "管理责任人")
    @ApiModelProperty("管理责任人")
    private String managementResponsiblePerson;

    /** 证书附件 */
    @Excel(name = "证书附件")
    @ApiModelProperty("证书附件")
    private String certificateAttachment;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFactoryName(String factoryName) 
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName() 
    {
        return factoryName;
    }
    public void setFactoryCode(String factoryCode) 
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode() 
    {
        return factoryCode;
    }
    public void setCertificateName(String certificateName) 
    {
        this.certificateName = certificateName;
    }

    public String getCertificateName() 
    {
        return certificateName;
    }
    public void setCertificateNumber(String certificateNumber) 
    {
        this.certificateNumber = certificateNumber;
    }

    public String getCertificateNumber() 
    {
        return certificateNumber;
    }
    public void setIssuingAuthority(String issuingAuthority) 
    {
        this.issuingAuthority = issuingAuthority;
    }

    public String getIssuingAuthority() 
    {
        return issuingAuthority;
    }
    public void setCertificateScope(String certificateScope) 
    {
        this.certificateScope = certificateScope;
    }

    public String getCertificateScope() 
    {
        return certificateScope;
    }
    public void setValidityPeriod(String validityPeriod) 
    {
        this.validityPeriod = validityPeriod;
    }

    public String getValidityPeriod() 
    {
        return validityPeriod;
    }
    public void setCertificateAudit(String certificateAudit) 
    {
        this.certificateAudit = certificateAudit;
    }

    public String getCertificateAudit() 
    {
        return certificateAudit;
    }
    public void setCertificateUpdate(String certificateUpdate) 
    {
        this.certificateUpdate = certificateUpdate;
    }

    public String getCertificateUpdate() 
    {
        return certificateUpdate;
    }
    public void setCertificateChange(String certificateChange) 
    {
        this.certificateChange = certificateChange;
    }

    public String getCertificateChange() 
    {
        return certificateChange;
    }
    public void setEntryTime(Date entryTime) 
    {
        this.entryTime = entryTime;
    }

    public Date getEntryTime() 
    {
        return entryTime;
    }
    public void setManagementResponsiblePerson(String managementResponsiblePerson) 
    {
        this.managementResponsiblePerson = managementResponsiblePerson;
    }

    public String getManagementResponsiblePerson() 
    {
        return managementResponsiblePerson;
    }
    public void setCertificateAttachment(String certificateAttachment) 
    {
        this.certificateAttachment = certificateAttachment;
    }

    public String getCertificateAttachment() 
    {
        return certificateAttachment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryName", getFactoryName())
            .append("factoryCode", getFactoryCode())
            .append("certificateName", getCertificateName())
            .append("certificateNumber", getCertificateNumber())
            .append("issuingAuthority", getIssuingAuthority())
            .append("certificateScope", getCertificateScope())
            .append("validityPeriod", getValidityPeriod())
            .append("certificateAudit", getCertificateAudit())
            .append("certificateUpdate", getCertificateUpdate())
            .append("certificateChange", getCertificateChange())
            .append("entryTime", getEntryTime())
            .append("managementResponsiblePerson", getManagementResponsiblePerson())
            .append("certificateAttachment", getCertificateAttachment())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
